package com.hope.onlinestudy.fragment.user

import com.hope.onlinestudy.model.UserInfoModel
import com.hope.onlinestudy.mvp.BasePresenter
import com.hope.onlinestudy.mvp.BaseView

/**
 * MVPPlugin
 * 邮箱 784787081@qq.com
 */
class UserContract {
    interface View : BaseView{
        fun setInfo(info:UserInfoModel?)

        fun setAlertLength(len:Int?)

        fun exitLogin()
    }
    interface Presenter :
        BasePresenter<View>{
        fun getMsgAlert()

        fun getUserInfo()

        fun exitApp()
    }
}